package com.github.chirspan.xaas.minio.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * *******description*******
 * minio配置
 * *************************
 *
 * @author chenpan
 * @date 2020/6/3 16:02
 */
@Data
@Configuration
@ConfigurationProperties("minio")
@RefreshScope
public class MinioConfigurationProperties {

    private String baseUrl;
    private String accessKey;
    private String secretKey;

    private String bucket = "xaas";

    private String defaultPath = "file/";
}
